<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!-- Copyright 1997 The Open Group, All Rights Reserved -->
<title>&lt;string.h&gt;</title>
</head><body bgcolor=white>
<center>
<font size=2>
The Single UNIX &reg; Specification, Version 2<br>
Copyright &copy; 1997 The Open Group

</font></center><hr size=2 noshade>
<h4><a name = "tag_000_009_111">&nbsp;</a>NAME</h4><blockquote>
string.h - string operations
</blockquote><h4><a name = "tag_000_009_112">&nbsp;</a>SYNOPSIS</h4><blockquote>
<pre><code>

#include &lt;string.h&gt;
</code>
</pre>
</blockquote><h4><a name = "tag_000_009_113">&nbsp;</a>DESCRIPTION</h4><blockquote>
The &lt;<b>string.h</b>&gt; header defines the following:
<dl compact>

<dt>NULL<dd>
Null pointer constant.

<dt><b>size_t</b><dd>
As described in
<i><a href="stddef.h.html">&lt;stddef.h&gt;</a></i>.

</dl>
<p>
The following are declared as functions and may also be defined
as macros.
Function prototypes must be provided for use with an ISO C
compiler.
<pre>
<code>
void    *<a href="memccpy.html">memccpy</a>(void *, const void *, int, size_t);
void    *<a href="memchr.html">memchr</a>(const void *, int, size_t);
int      <a href="memcmp.html">memcmp</a>(const void *, const void *, size_t);
void    *<a href="memcpy.html">memcpy</a>(void *, const void *, size_t);
void    *<a href="memmove.html">memmove</a>(void *, const void *, size_t);
void    *<a href="memset.html">memset</a>(void *, int, size_t);
char    *<a href="strcat.html">strcat</a>(char *, const char *);
char    *<a href="strchr.html">strchr</a>(const char *, int);
int      <a href="strcmp.html">strcmp</a>(const char *, const char *);
int      <a href="strcoll.html">strcoll</a>(const char *, const char *);
char    *<a href="strcpy.html">strcpy</a>(char *, const char *);
size_t   <a href="strcspn.html">strcspn</a>(const char *, const char *);
char    *<a href="strdup.html">strdup</a>(const char *);
char    *<a href="strerror.html">strerror</a>(int);
size_t   <a href="strlen.html">strlen</a>(const char *);
char    *<a href="strncat.html">strncat</a>(char *, const char *, size_t);
int      <a href="strncmp.html">strncmp</a>(const char *, const char *, size_t);
char    *<a href="strncpy.html">strncpy</a>(char *, const char *, size_t);
char    *<a href="strpbrk.html">strpbrk</a>(const char *, const char *);
char    *<a href="strrchr.html">strrchr</a>(const char *, int);
size_t   <a href="strspn.html">strspn</a>(const char *, const char *);
char    *<a href="strstr.html">strstr</a>(const char *, const char *);
char    *<a href="strtok.html">strtok</a>(char *, const char *);
char    *<a href="strtok_r.html">strtok_r</a>(char *, const char *, char **);
size_t   <a href="strxfrm.html">strxfrm</a>(char *, const char *, size_t);
</code>
</pre>
<p>
Inclusion of the
<i>&lt;string.h&gt;</i>
header may also make visible all symbols from
<i><a href="stddef.h.html">&lt;stddef.h&gt;</a></i>.
</blockquote><h4><a name = "tag_000_009_114">&nbsp;</a>APPLICATION USAGE</h4><blockquote>
None.
</blockquote><h4><a name = "tag_000_009_115">&nbsp;</a>FUTURE DIRECTIONS</h4><blockquote>
None.
</blockquote><h4><a name = "tag_000_009_116">&nbsp;</a>SEE ALSO</h4><blockquote>
<i><a href="memccpy.html">memccpy()</a></i>,
<i><a href="memchr.html">memchr()</a></i>,
<i><a href="memcmp.html">memcmp()</a></i>,
<i><a href="memcpy.html">memcpy()</a></i>,
<i><a href="memmove.html">memmove()</a></i>,
<i><a href="memset.html">memset()</a></i>,
<i><a href="strcat.html">strcat()</a></i>,
<i><a href="strchr.html">strchr()</a></i>,
<i><a href="strcmp.html">strcmp()</a></i>,
<i><a href="strcoll.html">strcoll()</a></i>,
<i><a href="strcpy.html">strcpy()</a></i>,
<i><a href="strcspn.html">strcspn()</a></i>,
<i><a href="strdup.html">strdup()</a></i>,
<i><a href="strerror.html">strerror()</a></i>,
<i><a href="strlen.html">strlen()</a></i>,
<i><a href="strncat.html">strncat()</a></i>,
<i><a href="strncmp.html">strncmp()</a></i>,
<i><a href="strncpy.html">strncpy()</a></i>,
<i><a href="strpbrk.html">strpbrk()</a></i>,
<i><a href="strrchr.html">strrchr()</a></i>,
<i><a href="strspn.html">strspn()</a></i>,
<i><a href="strstr.html">strstr()</a></i>,
<i><a href="strtok.html">strtok()</a></i>,
<i><a href="strxfrm.html">strxfrm()</a></i>,
<i><a href="systypes.h.html">&lt;sys/types.h&gt;</a></i>.
</blockquote><hr size=2 noshade>
<center><font size=2>
UNIX &reg; is a registered Trademark of The Open Group.<br>
Copyright &copy; 1997 The Open Group
<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]

</font></center><hr size=2 noshade>
</body></html>
